class Hihi{
    public int age;
    public String name;
    public void print(){
        System.out.println("嘎嘎嘎"+name+age);
    }

    public Hihi(int age, String name) {
        this.age = age;
        this.name = name;
    }
}

class Hehe extends Hihi{
    public Hehe(int age, String name) {
        super(age, name);
    }

    public void wa(){
        System.out.println("+++++++++++");
    }

}
public class haha {
    public static void main(String[] args) {
        Hehe hehe = new Hehe(18,"王永龙");
        hehe.print();
    }
}
